﻿using System.Collections.Generic;

namespace ConsoleApplication1
{
    class Program
    {           

        static void Main(string[] args)
        {

            A3DataFetch oA3DataFetch = new A3DataFetch();
            List<A3Product> A3lst = new List<A3Product>();
            bool bResult = false;
            bResult = oA3DataFetch.GetData("test1.xls");
            string output = "";
            bResult = oA3DataFetch.getDateFromXml("test1.xls", A3lst);
            for (int i = 0; i < A3lst.Count; i++)
            {
                output += A3lst[i].OutPutStr() + "\n";                
            }

            A3Product.WriteToFile("result.txt", output);
        }
             
            
    }

            

}
